<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <meta http-equiv="refresh" content="5;URL='home.jsp'">
        <title>Error</title>
        <script type="text/javascript" src="JavaScript/Javascripts.js"></script>
        <link href="CSS/Style.css" rel="stylesheet" type="text/css" />
    </head>
    <body onload="reg_user()" onpageshow="if (event.persisted) noBack();" onunload="">

        <jsp:include page="header.jsp"></jsp:include>
        <div id="menu_wrapper">
            <div id="menu">
                <ul>
                    <li><a href="home.jsp" class="current">Home</a></li>
                    <li><a href="about.jsp" target="_parent">About Us</a></li>
                    <li><a href="discuss.jsp" target="_parent">Discussion</a></li>
                    <%
                        if (session.getAttribute("user") == null) {
                    %>
                    <li><a href="Register.jsp" target="_parent">Register</a></li>
                    <%} else {%>
                    <li><a href="Control.jsp" target="_parent">User CP</a></li>
                    <%}%>
                </ul>
            </div> <!-- end of menu -->
        </div><!-- end of menu_wrapper -->
        <div id="content_wrapper">
            <div id="sidebar">
                <jsp:include page="login.jsp"/>
                <jsp:include page="subjects.jsp"/>
            </div> <!-- end of sidebar -->

            <div id="content">

                <div class="content_box">

                    <h2>Error</h2>

                    <p>An error occurred, please try after sometime.</p>

                    <div class="cleaner_h20"></div>

                    <div class="cleaner"></div>
                </div><div class="content_box_bottom"></div>

            </div> <!-- end of content -->

            <div class="cleaner"></div>

        </div>

        <div id="footer_wrapper">

            <div id="footer">

                <ul class="footer_menu">
                    <li><a href="#">Home</a></li>
                    <li><a href="#" target="_parent">Templates</a></li>
                    <li><a href="#" target="_parent">Flash Files</a></li>
                    <li><a href="#" target="_parent">Gallery</a></li>
                    <li><a href="#">Members</a></li>
                    <li class="last_menu"><a href="#">Contact Us</a></li>
                </ul>

                Copyright © 2048 <a href="#">Your Company Name</a> |
                <a href="#" target="_parent">Website Templates</a> by <a href="#" target="_parent">Free CSS Templates</a></div>

        </div>
    </body>
</html>